package com.hbnu.ojcodesandbox.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: Hu Bowen
 */

@RestController
public class MainController {

    // 测试项目是否能跑通
    @GetMapping("/health")
    public String healthCheck() {
        System.out.println("ok");
        return "ok";
    }
}
